/**
 * @license
*
* PreProcessing is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PreProcessing is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PreProcessing.  If not, see <http://www.gnu.org/licenses/>.
* 
*/
package SmartGrid;

/**
 *
 * @author Priya, Grant
 */
public class ConsumerDevice 
{
	private int deviceID;
        private String deviceName;
	private String Description;
        private double powerConsumed;
	private boolean EndpointConnectable;
       

    public ConsumerDevice() {
    }

    public void setDeviceID(int deviceID) {
        this.deviceID = deviceID;
    }
    

    public void setDescription(String Description) {
        this.Description = Description;
    }
       /**
        * @brief sets the device name
        * @param DeviceName 
        */ 
       public void setDeviceName (String DeviceName)
       {deviceName = DeviceName;}  
               
       /**
        * @brief sets the power block (1min)consumption of the device 
        * @param PowerConsumed 
        */   
       public void setPowerConsumed (double PowerConsumed)
       {powerConsumed = PowerConsumed;} 
       
       /**
        * @brief set the devices end point connectivity
        * @param EndpointConnectable 
        */
       public void setEndpointConnectable(boolean EndpointConnectable)
       {this.EndpointConnectable = EndpointConnectable;}
       /**
        * @brief get the deviceID
        * @return deviceID
        */
       public int getDeviceID()
       {return deviceID;}
       
       /**
        * @brief gets the device name
        * @return deviceName
        */
       public String getDeviceName ()
       {return deviceName;}
       
       /**
        * @brief get the amount of Power consumed per block of 1 min
        * @return powerConsumed
        */
       public double getPowerConsumed()
       {return powerConsumed;}

    public String getDescription() {
        return Description;
    }

    public boolean isEndpointConnectable() {
        return EndpointConnectable;
    }
       
       
}


